import request from '@/utils/request'

// 查询圈子列表
export function listCircle(query) {
  return request({
    url: '/community/article/circleList',
    method: 'get',
    params: query
  })
}

// 新增圈子
export function addCircle(data) {
  return request({
    url: '/community/article/editCircle',
    method: 'post',
    data: data
  })
}

// 编辑圈子
export function updateCircle(data) {
  return request({
    url: '/community/article/editCircle',
    method: 'post',
    data: data
  })
}

// 删除圈子
export function deleteCircle(data) {
  return request({
    url: '/community/article/editCircle',
    method: 'post',
    data: data
  })
} 